
from distutils.core import setup
from setuptools import find_packages
import py2exe
import os
# The main entry point of the program
script_file = 'Main.py'

# Create a list of data files.  Add everything in the 'res/' directory.
data_files = []
for file in os.listdir('res'):
    file = os.path.join('res', file)
    if os.path.isfile(file):
        data_files.append(file)

# Setup args that apply to all setups, including ordinary distutils.
setup_args = dict(
	windows=[dict(script=script_file)],
    data_files=[('res', data_files)],
	packages = find_packages(),
	
)

setup(**setup_args)
